﻿/*----------------------------------------------------------------
//  <copyright file="EmailReceiveEventData.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-14 11:36</last-date>
//----------------------------------------------------------------*/

using MimeKit;

namespace MicroCloud.Events
{
    #region "邮件接收事件数据"
    /// <summary>
    /// 邮件接收事件数据
    /// </summary>
    public class EmailReceiveEventData : EventDataBase
    {
        #region "属性"
        #region "获取或设置 是否系统接收"
        /// <summary>
        /// 获取或设置 是否系统接收
        /// </summary>
        public bool IsSystem { get; set; }
        #endregion
        #region "获取或设置 邮件接收配置信息"
        /// <summary>
        /// 获取或设置 邮件接收配置信息
        /// </summary>
        public EmailReceiverOptions ReceiverOptions { get; set; }
        #endregion
        #region "获取或设置 邮箱消息集合"
        /// <summary>
        /// 获取或设置 邮箱消息集合
        /// </summary>
        public IList<MimeMessage> Messages { get; set; }
        #endregion

        #endregion

        #region "构造函数"
        #region "初始化一个邮件接收数据的新实例"
        /// <summary>
        /// 初始化一个邮件接收数据的新实例
        /// </summary>
        public EmailReceiveEventData()
        { }
        #endregion

        #endregion

    }
    #endregion

}
